import request from '@/utils/request'

// // 查询新版PH计列表
// export function listConductivity(query) {
//   return request({
//     url: '/Productionline/conductivity/list',
//     method: 'get',
//     params: query
//   })
// }
// 查询新版PH计列表
export function listConductivity(query) {
  return request({
    url: '/Productionline/ph/list',
    method: 'get',
    params: query
  })
}

// 查询新版PH计详细
export function getConductivity(id) {
  return request({
    url: '/Productionline/ph/' + id,
    method: 'get'
  })
}

// 新增新版PH计
export function addConductivity(data) {
  return request({
    url: '/Productionline/ph',
    method: 'post',
    data: data
  })
}

// 修改新版PH计
export function updateConductivity(data) {
  return request({
    url: '/Productionline/ph',
    method: 'put',
    data: data
  })
}

// 审核新版PH计
export function checkConductivity(data) {
  return request({
    url: '/Productionline/ph/verify',
    method: 'post',
    data: data
  })
}

// 删除新版PH计
export function delConductivity(id) {
  return request({
    url: '/Productionline/ph/' + id,
    method: 'delete'
  })
}
